<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
    <meta name="keywords" content="{$SEO['keyword']}">
    <meta name="description" content="{$SEO['description']}">
    <script src="/statics/fals/js/jquery.js"></script>
    <script src="/statics/fals/js/rem.js"></script>
    <link rel="stylesheet" href="/statics/fals/styles/base.css" />
    <link rel="stylesheet" href="/statics/fals/styles/khal_detail.css" />
  </head>
  <body>

    <div class="khal_detail_container">
      {pc:get sql="select domain from dgg_site where siteid=1 " num="1" dbsource="zizhipc" }
      {php $home = $data?$data[0]['domain']:'';unset($data);}
      {php $content = str_replace('src="/uploadfile', 'src="'.$home.'uploadfile', $content);}
      {/pc}
      <div class="khal_title">
        <a href="javascript:history.go(-1);"><img src="https://cdn.shupian.cn/sp-pt/wap/9uclk0zujeg0000.png" alt="顶呱呱" class="back" /></a>
        客户案例详情
      </div>
      <div class="main">
        {pc:get sql="select a.title,a.tags,a.thumb,b.filepath from dgg_experts a left join dgg_attachment b on a.thumb=b.aid where a.id=$expert" num="1" dbsource="zizhipc" }
        {php $data=$data?$data[0]:[];}
        {/pc}
        <div class="case_baseinfo">
          <img src="{if !empty($data['filepath']) } {$home.'uploadfile/'.$data['filepath']} {/if}" alt="" class="case_img" />
          <h1 class="case_title">{$title}</h1>
          <div class="case_info">
            <img src="{if !empty($data['filepath']) } {$home.'uploadfile/'.$data['filepath']} {/if}" alt="" class="case_author_avator" />
            <div class="case_info_right">
              <div class="case_author_name">{$data['title']??''}</div>
              <div class="case_author_tag">
                {if $data['tags']}
                {php $tags=explode(',',$data['tags']);}
                {loop $tags $tag}
                <div class="tag_item">{$tag}</div>
                {/loop}
                {/if}
              </div>
            </div>
          </div>
        </div>
        <div class="floor">
          <h6 class="subtitle">客户痛点</h6>
          {php $painlist=explode("\r\n", $pains);}
          <div class="floor_content">
            {loop $painlist $r} {$r}</br>{/loop}
          </div>
        </div>
        <div class="floor">
          <h6 class="subtitle">客户介绍</h6>
          <div class="floor_content">
            {$description}
          </div>
        </div>
        <div class="floor">
          <h6 class="subtitle">客户痛点分析</h6>
          <div class="floor_content">
            {$analysis}
          </div>
        </div>
        <div class="floor">
          <h6 class="subtitle">解决方案</h6>
          <div class="floor_solution">
            {rndstring(dr_url_jump($content))}
          </div>
        </div>
        <div class="floor">
          <h6 class="subtitle">项目成果</h6>
          <div class="floor_project_result">
            <img src="https://cdn2.shupian.cn/sp-pt/wap/3vsevoqm06m0000.png" alt="" class="success_img" />
            {$achievement}
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
